﻿// =================================================================== 
// 项目说明
//====================================================================
// wup。@Copy Right 2014
// 文件： news.cs
// 项目名称：买车网
// 创建时间：2014/9/3
// 负责人：wup
// ===================================================================
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ComponentModel;
namespace Weixin.Entity.ChinaTax
{
	/// <summary>
	///news数据实体
	/// </summary>
	[Serializable]
	[DataContract]
	public class newsEntity
	{
		#region 变量定义
		///<summary>
		///
		///</summary>
		private int _newid;
		///<summary>
		///
		///</summary>
		private string _title = String.Empty;
		///<summary>
		///
		///</summary>
		private string _k_zuozhe = String.Empty;
		///<summary>
		///
		///</summary>
		private string _k_laiyuan = String.Empty;
		///<summary>
		///
		///</summary>
		private string _cont = String.Empty;
		///<summary>
		///
		///</summary>
		private int _id;
		///<summary>
		///
		///</summary>
		private int _id2;
		///<summary>
		///
		///</summary>
		private DateTime _k_shijian;
		///<summary>
		///
		///</summary>
		private int _isTop;
		#endregion
		
		#region 构造函数

		///<summary>
		///
		///</summary>
		public newsEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public newsEntity
		(
			int newid,
			string title,
			string k_zuozhe,
			string k_laiyuan,
			string cont,
			int id,
			int id2,
			DateTime k_shijian,
			int isTop
		)
		{
			_newid     = newid;
			_title     = title;
			_k_zuozhe  = k_zuozhe;
			_k_laiyuan = k_laiyuan;
			_cont      = cont;
			_id        = id;
			_id2       = id2;
			_k_shijian = k_shijian;
			_isTop     = isTop;
			
		}
		#endregion
		
		#region 公共属性

		
		///<summary>
		///
		///</summary>
		[DataMember]
		public int newid
		{
			get {return _newid;}
			set {_newid = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string title
		{
			get {return _title;}
			set {_title = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string k_zuozhe
		{
			get {return _k_zuozhe;}
			set {_k_zuozhe = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string k_laiyuan
		{
			get {return _k_laiyuan;}
			set {_k_laiyuan = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string cont
		{
			get {return _cont;}
			set {_cont = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int id
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int id2
		{
			get {return _id2;}
			set {_id2 = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime k_shijian
		{
			get {return _k_shijian;}
			set {_k_shijian = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int isTop
		{
			get {return _isTop;}
			set {_isTop = value;}
		}
	
		#endregion
		
	}
}
